package upcasting;

public class BMW extends Car {
	
	public BMW() {
		maxSpeed = 220;
		zero100 = 7.3;
	}
	
	public void accel() {
		System.out.println("급가속을 합니다.");
		System.out.println("100km/h까지 " + zero100 + "초가 걸렸습니다.");
	}
	
}
